From b5633e6887f08acad13ba4f91fdb23aacef2d14c Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 20 May 2016 14:47:39 +0300 Subject: [PATCH] fix test_cargo_overrides --- tests/test_cargo_overrides.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/test_cargo_overrides.rs b/tests/test_cargo_overrides.rs index 8d03715cb..c9cd01340 100644 --- a/tests/test_cargo_overrides.rs +++ b/tests/test_cargo_overrides.rs @@ -274,7 +274,7 @@ test!(use_a_spec_to_select { extern crate foo; extern crate bar; - fn local() { + pub fn local() { foo::foo1(); bar::bar(); } @@ -422,6 +422,8 @@ test!(override_wrong_name { assert_that(p.cargo_process("build"), execs().with_status(101).with_stderr("\ +[UPDATING] registry [..] +[UPDATING] git repository [..] error: no matching package for override `foo:0.1.0` found location searched: file://[..] version required: = 0.1.0 @@ -452,6 +454,8 @@ test!(override_with_nothing { assert_that(p.cargo_process("build"), execs().with_status(101).with_stderr("\ +[UPDATING] registry [..] +[UPDATING] git repository [..] error: Unable to update file://[..] Caused by: @@ -512,6 +516,8 @@ test!(multiple_specs { assert_that(p.cargo_process("build"), execs().with_status(101).with_stderr("\ +[UPDATING] registry [..] +[UPDATING] git repository [..] error: overlapping replacement specifications found: * [..] -- 2.30.2